
package com.dhcc.bpm.modules.content.mapper;

import com.dhcc.bpm.modules.content.entity.HomePage;
import com.dhcc.bpm.modules.content.vo.HomePageVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dhcc.bpm.modules.content.vo.HomePageVO2;

import java.util.List;

/**
 * @ClassName HomePageMapper
 * @Description  门户首页 Mapper 接口
 * @Author lijiacheng
 * @Date 2020/2/21 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */

public interface HomePageMapper extends BaseMapper<HomePage> {

	/**
	 * 自定义分页
	 *
	 * @param page
	 * @param homePage
	 * @return
	 */
	List<HomePageVO> selectHomePagePage(IPage page, HomePageVO homePage);

    List<HomePageVO2> selectHomePagePage2(IPage<HomePageVO2> page, HomePageVO2 homePage);
}
